package com.yunxin.facerecognition.module;

import android.app.Application;
import android.content.Context;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

/**
 * author : Administrator
 * e-mail : 254419013@qq.com
 * time   : 2017/07/06
 * desc   :
 */
@Module
public class AppModule {

    private final Application application;

    public AppModule(Application application) {
        this.application = application;
    }

    @Provides
    @Singleton
    Context getAppContext() {
        return application;
    }

}
